import request from '@/utils/request'
// import { removeToken } from '@/utils/auth'

export function login(username, password) {
  const params = {}
  params.username = username
  params.password = password
  params.companyId = 0
  return request({
    url: '/sjj/login',
    method: 'get',
    data: params
  })
}

export function getInfo() {
  return request({
    url: '/sjj/getInfo',
    method: 'get'
  })
}

export function logout() {
  return request({
    url: '/sjj/logout',
    method: 'post'
  })
}
